
// 表单校验规则由 schema2code 生成，不建议直接修改校验规则，而建议通过 schema2code 生成, 详情: https://uniapp.dcloud.net.cn/uniCloud/schema



const validator = {
  "paramedics_id": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "type": {
    "rules": [
      {
        "format": "array"
      }
    ]
  },
  "tel": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "avatar": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "name": {
    "rules": [
      {
        "format": "int"
      }
    ]
  },
  "sex": {
    "rules": [
      {
        "format": "array"
      },
      {
        "range": [
          "男",
          "女"
        ]
      }
    ]
  },
  "age": {
    "rules": [
      {
        "format": "int"
      }
    ]
  },
  "level": {
    "rules": [
      {
        "format": "int"
      }
    ]
  },
  "exp_year": {
    "rules": [
      {
        "format": "int"
      }
    ]
  },
  "tags": {
    "rules": [
      {
        "format": "array"
      }
    ]
  },
  "identity_no": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "identity_img": {
    "rules": [
      {
        "format": "array"
      }
    ]
  },
  "zodiac": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "constellation": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "native_place": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "nation": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "education": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "examination": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "background_checks": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "certificates": {
    "rules": [
      {
        "format": "array"
      }
    ]
  },
  "introduce": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "comment": {
    "rules": [
      {
        "format": "string"
      }
    ]
  },
  "photos": {
    "rules": [
      {
        "format": "array"
      }
    ]
  },
  "care_item": {
    "rules": [
      {
        "format": "array"
      }
    ]
  },
  "training_records": {
    "rules": [
      {
        "format": "array"
      }
    ]
  },
  "arrangement": {
    "rules": [
      {
        "format": "array"
      }
    ]
  }
}

const enumConverter = {}

export { validator, enumConverter }
